package cn.laowen.system.mapper;

import cn.laowen.system.domain.Menu;
import cn.laowen.basic.mapper.BasicMapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author laowen
 * @since 2022-06-21
 */
public interface MenuMapper extends BasicMapper<Menu> {

    /**
     * 根据登录人的id查询对应的菜单权限
     * @param id
     * @return
     */
    List<Menu> loadMenuByLogininfoId(Long id);
}
